import { createPinia } from 'pinia'
// 注册pinia的插件
import persist from 'pinia-plugin-persistedstate'

const pinia = createPinia()
// 注册持久化插件
pinia.use(persist)

export * from './modules/user'
export * from './modules/consult'
export default pinia
